package com.fita.admin.service.report;

import com.demo2do.core.entity.page.Page;
import com.fita.admin.service.DataService;
import com.fita.entity.order.Order;

import java.util.List;
import java.util.Map;

/**
 * 
 * @author sjh
 *
 */
public interface ReportService extends DataService<Order>{

	/**
	 * 
	 * @return
	 */
	public int count();
	
	/**
	 * 
	 * @return
	 */
	public List<Order> list(Page page);

    /**
     * @param results
     */
    public Map<String, Object> calculate(List<Order> results);
	
	
}
